package com.cyc.quick.exception;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author fei
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class ProjectException extends  RuntimeException{

    private String status;

    public ProjectException(){

    }
    public ProjectException(String msg){
        super(msg);
        this.status="500";
    }

    public ProjectException(String status, String msg){
        super(msg);
        this.status=status;
    }

    @Override
    public String getMessage() {
        return super.getMessage();
    }
}
